package presentationTier.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import presentationTier.MainForm;
import presentationTier.dialogs.SearchMovieDialog;

/**
 *
 * @author vojta
 */
public class SearchAction implements ActionListener{

    MainForm form;

    public SearchAction(MainForm aThis) {
        form = aThis;
    }

    public void actionPerformed(ActionEvent e) {
        SearchMovieDialog d = new SearchMovieDialog(form, true);
        d.setVisible(true);        
    }

}
